package com.bajie.bjlisten.api;


import com.bajie.bjlisten.entity.category_user.BjCategoryUserDto;
import com.bajie.bjlisten.entity.BjUserInterest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;
import java.util.Set;

@Api(value = "小说分类", description = "小说分类查询接口")
public interface BjCategoryControllerApi {


    @ApiOperation("查询用户喜欢的分类")
    public List<BjUserInterest> findListUserInterest(String userId);

    @ApiOperation(value = "根据用户查询喜欢的小说分类,包含分类名称和分类主键和用户ID",notes = "分页查询")
    public Set<BjCategoryUserDto> findListUser_Interest(String userId);
}
